home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part I.srd / Part I.srd.rsrc / PICT_22.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  132KB  |  816x1056  |  8-bit (256 colors)
Labels: book | poster | reckoner | sky | windowpane
OCR: I-18 Mops Tutorial n1 n2 prod Multiplies n1*n2 and leaves the product on the stack n1 n2 (onb Divides n1/n2 and leaves the quotient on the stack. To newcomers. the stack order the way in which numbers come out in the reverse order -may be confusing when it comes to subtraction and division, because in those operations, the order of the numbers is critical If you want to subtract from you want to make sure that those numbers come out of the stack in the correct otedr for the subtraction operation to work on them. Fortunately, Mops saves you from pforming all kinds of menta gymnastics in the process In the kind of arithmetic notation vou learned in school you write the problem like this: 10 and get the desi ired answer In Mops ari thmetic, the order of the number the same All you op is move ...